Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate instruction_durations, timing_constraints and backend_properties #13338

Merged
merged 16 commits into from
Oct 30, 2024

Conversation

1ucian0
Copy link
Member

@1ucian0 1ucian0 commented Oct 17, 2024

Summary

Fixes #13306

Details and comments

The function generate_preset_pass_manager and transpile have very complicated precedence rules on how the parameters are handled. We should move towards Target-define constrains instead of loose parameters.

@1ucian0 1ucian0 requested a review from a team as a code owner October 17, 2024 11:55
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@raynelfss raynelfss added this to the 1.3.0 milestone Oct 17, 2024
@coveralls
Copy link

coveralls commented Oct 21, 2024

Pull Request Test Coverage Report for Build 11593834442

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 11 of 11 (100.0%) changed or added relevant lines in 2 files are covered.
  • 775 unchanged lines in 11 files lost coverage.
  • Overall coverage increased (+0.02%) to 88.708%

Files with Coverage Reduction New Missed Lines %
qiskit/circuit/library/iqp.py 1 96.15%
qiskit/transpiler/passes/optimization/echo_rzx_weyl_decomposition.py 2 97.01%
crates/accelerate/src/split_2q_unitaries.rs 2 96.23%
crates/qasm2/src/lex.rs 5 92.73%
crates/accelerate/src/unitary_synthesis.rs 17 92.2%
qiskit/qasm3/exporter.py 17 96.14%
qiskit/quantum_info/operators/symplectic/base_pauli.py 30 88.55%
crates/accelerate/src/sparse_observable.rs 54 95.42%
qiskit/transpiler/passes/synthesis/unitary_synthesis.py 69 58.05%
crates/circuit/src/operations.rs 145 89.21%
Totals Coverage Status
Change from base Build 11526575270: 0.02%
Covered Lines: 75521
Relevant Lines: 85134

💛 - Coveralls

Copy link
Contributor

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost LGTM! I just caught a small typo and realized that we are missing a release note for the deprecation.

qiskit/compiler/transpiler.py Outdated Show resolved Hide resolved
@ElePT ElePT self-assigned this Oct 21, 2024
Co-authored-by: Elena Peña Tapia <[email protected]>
@ElePT
Copy link
Contributor

ElePT commented Oct 22, 2024

Would you like me to take care of the reno? I can do that.

ElePT
ElePT previously approved these changes Oct 28, 2024
Copy link
Contributor

@ElePT ElePT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ElePT ElePT added Changelog: Deprecation Include in "Deprecated" section of changelog mod: transpiler Issues and PRs related to Transpiler labels Oct 28, 2024
@raynelfss raynelfss requested a review from ElePT October 29, 2024 15:47
@ElePT ElePT enabled auto-merge October 30, 2024 13:28
@ElePT ElePT added this pull request to the merge queue Oct 30, 2024
Merged via the queue into Qiskit:main with commit 2d0e28f Oct 30, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Deprecation Include in "Deprecated" section of changelog mod: transpiler Issues and PRs related to Transpiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate instruction_durations, timing_constraints and backend_properties in generate_preset_pass_manager
5 participants